/* 列表页样式 */
.container {
  width: 90%;
  margin: 20px auto;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 16px;
  color: #666;
}

.table-wrapper {
  overflow-x: auto;
}

.house-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.house-table th,
.house-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.house-table th {
  background: #f5f5f5;
  font-weight: 600;
}

.house-img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

.title {
  font-weight: 500;
  color: #333;
}

.desc {
  color: #666;
  font-size: 14px;
}

.price {
  color: #ff4d4f;
  font-weight: 600;
}

.tag {
  display: inline-block;
  padding: 2px 8px;
  background: #e8f4f8;
  color: #4299e1;
  border-radius: 12px;
  font-size: 12px;
}

.status.online {
  color: #52c41a;
}

.status.offline {
  color: #999;
}

.operations {
  display: flex;
  gap: 8px;
}

.btn {
  padding: 6px 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.view-btn {
  background: #4299e1;
  color: #fff;
}

.offline-btn {
  background: #ff4d4f;
  color: #fff;
}

.offline-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.hover-row {
  background: #fafafa;
}

/* 详情页样式 */
.house-detail-container {
  width: 90%;
  margin: 20px auto;
}

.back-btn {
  margin-bottom: 20px;
  font-size: 16px;
}

.back-btn:hover {
  color: #4299e1;
  cursor: pointer;
}

.basic-info {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 16px;
  padding: 16px;
  background: #f5f5f5;
  border-radius: 8px;
}

.basic-info span {
  color: #333;
  font-size: 16px;
}

.detail-tag {
  display: inline-block;
  padding: 4px 12px;
  background: #e8f4f8;
  color: #4299e1;
  border-radius: 16px;
  font-size: 14px;
  margin-bottom: 20px;
}

.content-wrapper {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.info-column {
  width: 30%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.item {
  padding: 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.item:hover {
  border-color: #4299e1;
}

.collect-btn {
  padding: 12px;
  background: #fff;
  border: 1px solid #ffc107;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffc107;
  cursor: pointer;
  gap: 8px;
}

.collect-btn .star-icon.filled::after {
  content: '★';
  color: #ffc107;
}

.collect-btn .star-icon::after {
  content: '☆';
}

.img-column {
  width: 70%;
}

.house-detail-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}